home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / mwftpd.zip / FTPD.CFG next >
Text File  |  1993-03-06  |  3KB  |  86 lines

  1. # Sample FTPD.CFG file for FTPD.NLM   
  2. #
  3. # lines beginning with # are comments.
  4.  
  5. maxconnections    5    # specify max # connections 
  6.             # forced to 2 or less in DEMO mode
  7.  
  8. screendelay    2    # set delay in seconds between status
  9.             # screen updates
  10.  
  11. logfile        sys:system\logfile.ftp
  12.             # specify alternate logfile
  13.  
  14. # The following lines are examples. Modify to 
  15. # suite your needs and delete any remaining lines 
  16. # that do not apply
  17.  
  18. #####################################################
  19. #                DEFAULT CLASS              
  20. #                           
  21. #   The following class conditions will be used if
  22. #   the incoming IP address (or name) doesn't match
  23. #   any other class                   
  24. #####################################################
  25. # The following class allows access to all users on 
  26. # all servers accept for bkc (on any server). Once 
  27. # connected, users may be idle up to 2 minutes, and
  28. # connected for at most 10 minutes. They can only login
  29. # mon-fri and they are only allowed readonly access
  30.  
  31. class    default
  32.     deny    */bkc
  33.     settings    connect 10, idle 2 +
  34.             timerange mon-fri/0-23 +
  35.             readonly
  36.  
  37. #########################################################
  38. #     CLASS DOM.MURK.COM
  39. #              
  40. # The following class is used if the client IP address     
  41. # is in subnet 20                    
  42. # or any name ending in dom.murk.com            
  43. #########################################################
  44. # Access to all servers is denied, accept for access to 
  45. # server GIMP,  which allows all users. However users can 
  46. # only login mon-fri between 10PM and 5AM, or
  47. # any time saturday and sunday
  48.  
  49. class    dom_murk_com
  50.     address    *.dom.murk.com
  51.     address    113.121.20.*
  52.     deny    */*
  53.     allow    gimp/*
  54.     settings    timerange mon-fri/22-5 +
  55.             timerange sat-sun/0-23
  56.  
  57. ##########################################################
  58. #    CLASS MURKWORKS                      
  59. #                              
  60. # This class is used if the client IP address is in class 
  61. # B network 113.121 or its IP name ends in murk.com      
  62. # NOTE: Class dom.murk.com has precidence over this class as
  63. # appropriate since it is more specific               
  64. ##########################################################
  65. # This class allows access to any user on THIS SERVER ONLY
  66. # All users except for bkc have readonly access and can only login 
  67. # on weekends between 10am and 9pm
  68. # User bkc has access only on the weekends
  69. # In either case, all read/write operations will be logged to 
  70. # the file vol1:usr\fred\logfile.ftp
  71.  
  72. class    murkworks
  73.     address    113.121.*.*
  74.     address    *.murk.com
  75.     deny    */*
  76.     allow    *    readonly timerange sun-sat/10-21
  77.     allow    bkc    timerange sat-sun/0-23
  78.     settings       log 25 +
  79.              logfile vol1:usr\fred\logfile.ftp
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.